package com.bw.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *  接收页面传来的添加数据
 */
@Data
public class ApplyAdd {
    @NotBlank(message = "报销人不为空")
    private String name;
    @NotBlank(message = "报销金额不为空")
    private String amount;

    @NotNull(message = "报销类型不为空")
    private Integer applyTypeId;

    @NotBlank(message = "报销说明不为空")
    private String remark;
    @NotBlank(message = "报销日期不为空")
    private String applyDate;
}
